# Problem 10
# ==========
# The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.
#
# Find the sum of all the primes below two million.
from my_euler import primes

MAX = 2000000

p = primes()
n, answer = 0, 0 

while n < MAX:
    #print n
    answer += n
    n = p.next()


print "-> ", answer
